package nbcp.base.comm


/**
 * Created by jin on 2017/3/16.
 */
open class ListQueryModel {
    var skip: Int = 0;
    var take: Int = -1;
    var sorts = mutableListOf<SortIsAsc>()


    companion object {
        fun of(skip: Int, take: Int): ListQueryModel {
            var model = ListQueryModel()
            model.skip = skip
            model.take = take
            return model;
        }
    }
}
